# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html


from scrapy import Item, Field


class MyspiderItem(Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


class BaiSearchItem(Item):
    """
        爬取百度栏目
    """
    title = Field()
    url = Field()
    content = Field()


class ImageItem(Item):
    """
    爬取360图片的拍摄图片
    """
    collection = table = 'image'
    id = Field()
    url = Field()
    title = Field()
    desc = Field()
    site_name = Field()
